<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><{$title}></title>
<link rel="Shortcut Icon" href="__IMG__/favicon.ico" type="image/x-icon"/>
<link type="text/css" href="__STATIC__/Style/Css/base.css" rel="stylesheet" />
<link type="text/css" href="__CSS__/public.css" rel="stylesheet" />
<link type="text/css" href="__CSS__/letter.css" rel="stylesheet" />
<include file="Common:head" />
</head>
<body>
<div id="all">
    <div class="header mb20"  >
        <include file="Common:top"/>
    </div>
    <div id="header" class="mb20">
    <!-- header start -->
		<include file="Common:top" />
    <!-- header end -->
    </div>
    <div id="page" class="mc  cls">
    <!-- page start -->
    	<div class="leftBox fl">
        <!--左边盒子开始-->
        	<div class="addBoxWrap">
            	<div class="addBox">
                	<div class="addBoxTop">
                    	<div class="addBoxTopL fl"><img src="<{$userInfo.face}>" alt="" /></div>
                        <div class="addBoxTopR fr">
                        	<h5><{$userInfo.username}></h5>
                            <p>发私信</p>
                        </div>
                        <div class="cb"></div>
                    </div>
                    <div class="addBoxCon">
                    	<form action="__APP__/Home/member/addLetter" method="post">
                        <input type="hidden" name="uid" value="<{:session('uid')}>" />
                        <input type="hidden" name="send_user" value="<{$userInfo['username']}>" />
                    	<ul>
                        	<li>
                            	<span class="item3 fl"><b>*</b>用户名</span>
                            	<input type="text" name="username" class="text1 fl" value="<{$username}>" />
                                <div class="msgContent fl none"></div>
                                <div class="cb"></div>
                            </li>
                        	<li>
                            	<span class="item3 fl"><b>*</b>类&nbsp;&nbsp;型</span>
                            	<p class="letterP">用户私信</p>
                                <div class="msgContent fl none"></div>
                                <div class="cb"></div>
                            </li>
                        	<li>
                            	<span class="item3 fl"><b>*</b>标&nbsp;&nbsp;题</span>
                            	<input type="text" name="title" class="text1 fl" />
                                <div class="msgContent fl none"></div>
                                <div class="cb"></div>
                                <span class="item3 fl"><b>*</b>内容</span>
                            </li>
                            <br/>
                            <!-- 加载百度UE编辑器 -->
                            <!-- 加载编辑器的容器 -->
                            <script id="container" name="content" type="text/plain" style="width:600px; height:220px;"></script>
                            <!-- 编辑器配置文件 -->
                            <script type="text/javascript" src="__STATIC__/Editor/ueditor.config.js"></script>
                            <!-- 编辑器源码文件 -->
                            <script type="text/javascript" src="__STATIC__/Editor/ueditor.all.js"></script>
                            <!-- 实例化编辑器 -->
                            <script type="text/javascript">
                                var ue = UE.getEditor('container',{
                                    toolbars: [
                                        ['undo','redo','fontfamily','fontsize','forecolor','bold','italic','insertorderedlist','justifyleft',
                                            'justifycenter','autotypeset','simpleupload','insertvideo','scrawl','emotion','date','link','drafts','removeformat','horizontal','source','insertcode',]
                                    ],
                                    elementPathEnabled:false,
                                });
                            </script>
                            <!-- 加载百度UE编辑器END -->
                                <div class="msgContent fl none"></div>
                                <div class="cb"></div>
                            </li>
                        	<li>
                            	<span class="item3 fl"></span>
                                <br/>
                            	<input type="submit" value="提交" class="sub1 fl" />
                                <div class="cb"></div>
                            </li>
                        </ul>
                        </form>
                    </div>
                </div>
            </div>
        <!--左边盒子结束-->
        </div>
        <div class="rightBox fr">
        <!--右边盒子开始-->
        	<div class="tipBox">
            	<div class="tipTitle">发私信</div>
                <div class="tipCon">
                	<ul>
                        <li>请确保用户名真实存在；</li>
                        <li>标题请简要概括私信的目的；</li>
                        <li>自己无法给自己发私信；</li>
                        <li>用户名,标题,内容都不能为空；</li>
                    </ul>
                </div>
            </div>
        <!--右边盒子结束-->
        </div>
        <div class="cb"></div>
    <!-- page end -->
    </div>
    <div id="footer" class="mc cls">
    <!-- footer start -->
        	<include file="Common:footer" />
    <!-- footer end -->
    </div>
</div>
</body>
</html>
